﻿using System;
using System.Collections.Generic;
using System.Text;
using com.lover.astd.common;

namespace com.lover.astd.game.ui.server.impl.logger
{
    class TempLogger : ILogger
    {
        private MainForm _partner;
        public TempLogger(MainForm p) { _partner = p; }
        public void logDebug(string text)
        {
        }
        public void logError(string text)
        {
            _partner.LogTemp(text);
        }
        public void log(string text, System.Drawing.Color color)
        {
            _partner.LogTemp(text);
        }
        public void logSingle(string text)
        {
        }

        #region ILogger 成员


        public void logSurprise(string text)
        {
            throw new NotImplementedException();
        }

        public void logTemp(string text)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
